package com.wilmer.classTestDetails.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wilmer.common.annotation.Excel;
import com.wilmer.common.core.domain.BaseEntity;

/**
 * 随堂测试详情题 对象 yw_class_tests_details
 * 
 * @author zl
 * @date 2024-04-11
 */
public class YwClassTestsDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 随堂测试详情id */
    private Long testDetailId;

    /** 测试ID */
    @Excel(name = "测试ID")
    private Long testId;

    /** 题目的具体内容或问题描述 */
    @Excel(name = "题目的具体内容或问题描述")
    private String questionText;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private String questionType;

    /** 如果是选择题，这里可以存储选项内容  JSON格式 */
    @Excel(name = "如果是选择题，这里可以存储选项内容  JSON格式")
    private String options;

    /** 正确答案，只有非主观题才有 */
    @Excel(name = "正确答案，只有非主观题才有")
    private String correctAnswer;

    /** 该题目的分值 */
    @Excel(name = "该题目的分值")
    private Long marks;

    /** 题目在测试中的顺序 */
    @Excel(name = "题目在测试中的顺序")
    private Long questionOrder;

    @Excel(name = "随堂测试名")
    private String testName;

    public String getTestName() {
        return testName;
    }

    public void setTestName(String testName) {
        this.testName = testName;
    }

    public void setTestDetailId(Long testDetailId)
    {
        this.testDetailId = testDetailId;
    }

    public Long getTestDetailId() 
    {
        return testDetailId;
    }
    public void setTestId(Long testId) 
    {
        this.testId = testId;
    }

    public Long getTestId() 
    {
        return testId;
    }
    public void setQuestionText(String questionText) 
    {
        this.questionText = questionText;
    }

    public String getQuestionText() 
    {
        return questionText;
    }
    public void setQuestionType(String questionType) 
    {
        this.questionType = questionType;
    }

    public String getQuestionType() 
    {
        return questionType;
    }
    public void setOptions(String options) 
    {
        this.options = options;
    }

    public String getOptions() 
    {
        return options;
    }
    public void setCorrectAnswer(String correctAnswer) 
    {
        this.correctAnswer = correctAnswer;
    }

    public String getCorrectAnswer() 
    {
        return correctAnswer;
    }
    public void setMarks(Long marks) 
    {
        this.marks = marks;
    }

    public Long getMarks() 
    {
        return marks;
    }
    public void setQuestionOrder(Long questionOrder) 
    {
        this.questionOrder = questionOrder;
    }

    public Long getQuestionOrder() 
    {
        return questionOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("testDetailId", getTestDetailId())
            .append("testId", getTestId())
            .append("questionText", getQuestionText())
            .append("questionType", getQuestionType())
            .append("options", getOptions())
            .append("correctAnswer", getCorrectAnswer())
            .append("marks", getMarks())
            .append("questionOrder", getQuestionOrder())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
